<div th:fragment="role_form">
    <input type="hidden" id="roleId">
    <input type="hidden" id="mids">
    <form class="form-horizontal">
        <div class="box-body">
            <div class="form-group">
                <label for="name" class="col-sm-2 control-label">角色名称</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="name" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="remarks" class="col-sm-2 control-label">备注</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="remarks" autocomplete="off">
                </div>
            </div>
            <div class="form-group">
                <label for="typeTree" class="col-sm-2 control-label">权限功能</label>
                <div class="col-sm-10">
                    <div id="layer-zTree">
                        <div style="padding: 10px; height:90%;">
                            <ul id="typeTree" class="ztree"></ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="box-footer">
            <button type="button" class="btn btn-info pull-right" onclick="save()">提交</button>
        </div>
    </form>
</div>